/*
 * orderinfo_transfer.h
 *
 *  Created on: 2013-2-14
 *      Author: panqiuhui
 */

#ifndef ORDERINFO_TRANSFER_H_
#define ORDERINFO_TRANSFER_H_
#include <stdbool.h>
#include "../common_struct/orderinfo.h"
#include "../common_struct/orderlist.h"

//向服务器发送查询订单的请求，找到的话返回true并将结果保存在orderlist中，没找到的话返回false
bool search_order(const struct orderinfo_search_request *request,
		OrderList *orderlist);

//向服务器发送退票的请求，成功返回true，失败返回false;
bool refund_order(const struct orderinfo_refund_request *request,
		const OrderList *orderlist);

#endif /* ORDERINFO_TRANSFER_H_ */
